package com.zdemo.rejected;
public class ThreadTask extends Thread {
     
    public ThreadTask(String name){
        super(name);
    }
     
    @SuppressWarnings("static-access")
    @Override
    public void run() {
        System.out.println(this.getName().toString() + ", will sleep 0 s");
        try {
            this.sleep(1*10);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println(this.getName().toString() + ", I am wakeup now ");
    }
 
}